package com.zmn.oms.common.dro.quotation3;

import com.zmn.common.constant.GlobalConsts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author sunlife
 * @date:2021/11/25 4:26 下午
 * description:
 */
@Data
@ApiModel("用户确认的故障信息")
public class UserConfirmedFaultInfoDRO implements Serializable {
    private static final long serialVersionUID = -3590893553828747196L;

    @ApiModelProperty("订单号")
    private Long orderId;

    @ApiModelProperty("工单号")
    private Long workId;

    @ApiModelProperty("后台产品ID")
    private Integer productId;

    @ApiModelProperty("后台产品名称")
    private String productName;

    @ApiModelProperty("前台产品ID")
    private Integer showProductId;

    @ApiModelProperty("前台产品名称")
    private String showProductName;

    @ApiModelProperty("品牌ID")
    private Integer brandId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("城市ID")
    private Integer cityId;

    @ApiModelProperty("渠道ID")
    private Integer channelId;

    @ApiModelProperty("后台二级分类")
    private String categName;

    @ApiModelProperty("后台二级分类id")
    private Integer categId;

    @ApiModelProperty("计价器名称")
    private String tariffName;

    /**
     * 价格表id
     */
    @ApiModelProperty("价格表id")
    private Integer tariffId;

    /**
     * 是否确认了故障
     * 1未确认 2已确认
     */
    @ApiModelProperty("是否确认了故障")
    private Integer isConfirmFault = GlobalConsts.NO;


    /**
     * 底图
     */
    @ApiModelProperty("底图")
    private String faultImage;

    /**
     * 用户选择的故障现象
     */
    @ApiModelProperty("用户选择的故障现象ID集合")
    private List<FaultPhenoDRO> faultPhenList;

    /**
     * 用户选择的故障现象
     */
    @ApiModelProperty("用户选择的故障现象对应的图片集合")
    private List<FaultImageDRO> faultImageList;

    @ApiModelProperty("故障部位/详解")
    private List<FaultDRO> faultList;

    /**
     * 检修项目
     */
    @ApiModelProperty("检修项目")
    private List<OrderMaintainItemDRO> maintainItemList;
}
